package com.dm.framework.generic;

import java.util.List;
import com.dm.framework.model.Query;

public interface GenericDao<T, ID> {

    public T find(ID id);

    public void save(T obj);

    public void update(T obj);

    public void delete(T obj);
    
    List<T> findByCnd(Query query);
}
